﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WpfApp_MvvmIoc.Base;
using WpfApp_MvvmIoc.Bll;

namespace WpfApp_MvvmIoc.ViewModel;

public class MainViewModel
{
	private string? _value;

	public string? Value
	{
		get { return _value; }
		set { _value = value; }
	}

	[Dependy]
	public ILogBll logBll1 { get; set; }

	private readonly ILogBll _logbll;

    public MainViewModel(ILogBll logBll)
    {
        _logbll  = logBll;
        this.Value = "1111";

		//logBll1.Log("ssss");
    }

}
